import request from '@/utils/request'

export function addroles(params) {
  return request({
    url: 'https://easy-mock.com/mock/5a6be0721dfbfd52154f0763/example_copy/peoplelist',
    method: 'post',
    params
  })
}

export function getList(params) {
  return request({
    url: 'https://easy-mock.com/mock/5a6be0721dfbfd52154f0763/example_copy/peoplelist',
    method: 'post',
    params
  })
}

export function filtersearch(params) {
  return request({
    url: 'https://easy-mock.com/mock/5a6be0721dfbfd52154f0763/example_copy/peoplelist',
    method: 'post',
    params
  })
}

export function qiyong(params) {
  return request({
    url: 'https://easy-mock.com/mock/5a6be0721dfbfd52154f0763/example_copy/user/login',
    method: 'post',
    params
  })
}

export function jinyong(params) {
  return request({
    url: 'https://easy-mock.com/mock/5a6be0721dfbfd52154f0763/example_copy/user/login',
    method: 'post',
    params
  })
}

export function getrolesDetail(parameter) {
  return request({
    url: 'https://easy-mock.com/mock/5a6be0721dfbfd52154f0763/example_copy/editpeople',
    method: 'post',
    parameter
  })
}

export function sureEdit(params) {
  return request({
    url: 'https://easy-mock.com/mock/5a6be0721dfbfd52154f0763/example_copy/editpeople',
    method: 'post',
    params
  })
}

export function shanchu(params) {
  return request({
    url: 'https://easy-mock.com/mock/5a6be0721dfbfd52154f0763/example_copy/editpeople',
    method: 'post',
    params
  })
}

